/**
 * constantRoutes
 * a base page that does not have permission requirements
 * all roles can be accessed
 */

// 图标地址 http://fontawesome.chrafz.com/#wrap
// 图标地址 https://www.runoob.com/font-awesome/fontawesome-icons-brand.html
// ["fa fa-dashboard","fa fa-group","fa fa-group","el-icon-UserFilled","el-icon-Grid","el-icon-List","fa fa-drivers-license","fa fa-user","fa fa-group","fa fa-th-list","el-icon-Money","el-icon-Discount","fa fa-cogs","el-icon-Tools","fa fa-folder","fa fa-user","el-icon-GoodsFilled","fa fa-shield","fa fa-database","fa fa-expeditedssl","fa fa-database","fa fa-expeditedssl","fa fa-code"]
export const routers = [
    {
        'component': '/src/views/backend/dashboard.vue',
        "extend": "none",
        'name': 'dashboard',
        'path': 'dashboard',
        'auth': 'dashboard',
        'icon': 'fa fa-dashboard',
        'keepalive': 'dashboard',
        'menu_type': 'tab',
        'title': '控制台',
        'en_title': 'console',
        'type': 'menu',
        'children': []
    },
    {
        'component': '',
        "extend": "none",
        'name': 'auth',
        'path': 'auth',
        'auth': 'auth',
        'icon': 'fa fa-group',
        'keepalive': 0,
        'menu_type': null,
        'title': '后台管理',
        'en_title': 'back-stage management',
        'type': 'menu_dir',
        'children': [
            {
                'component': '/src/views/backend/auth/group/index.vue',
                "extend": "none",
                'name': 'auth/group',
                'path': 'auth/group',
                'auth': 'auth',
                'icon': 'fa fa-group',
                'keepalive': 'auth/group',
                'menu_type': 'tab',
                'title': '角色组管理',
                'en_title': 'Role group management',
                'type': 'menu',
                'children': []
            },
            {
                'component': '/src/views/backend/auth/admin/index.vue',
                "extend": "none",
                'name': 'auth/admin',
                'path': 'auth/admin',
                'auth': 'auth',
                'icon': 'el-icon-UserFilled',
                'keepalive': 'auth/admin',
                'menu_type': 'tab',
                'title': '管理员管理',
                'en_title': 'Administrator management',
                'type': 'menu',
                'children': []
            },
            /*{
                'component': '/src/views/backend/auth/rule/index.vue',
                "extend": "none",
                'name': 'auth/rule',
                'path': 'auth/rule',
                'auth': 'auth',
                'icon': 'el-icon-Grid',
                'keepalive': 'auth/rule',
                'menu_type': 'tab',
                'title': '菜单规则管理',
                'en_title': 'Menu rule management',
                'type': 'menu',
                'children': []
            },*/
            {
                'component': '/src/views/backend/auth/adminLog/index.vue',
                "extend": "none",
                'name': 'auth/adminLog',
                'path': 'auth/adminLog',
                'auth': 'auth',
                'icon': 'el-icon-List',
                'keepalive': '0',
                'menu_type': 'tab',
                'title': '管理员日志管理',
                'en_title': 'Administrator log management',
                'type': 'menu',
                'children': []
            }
        ]
    },

    {
        'component': '',
        "extend": "none",
        'name': 'goods',
        'path': 'goods',
        'auth': 'goods',
        'icon': 'fa fa-tablet',
        'keepalive': '0',
        'menu_type': null,
        'title': '商品管理',
        'en_title': 'Commodity management',
        'type': 'menu',
        'children': [
            {
                'component': '/src/views/backend/goods/goods/index.vue',
                "extend": "none",
                'name': 'goods/goods',
                'path': 'goods/goods',
                'auth': 'goods',
                'icon': 'fa fa-tachometer',
                'keepalive': 'goods/goods',
                'menu_type': 'tab',
                'title': '商品管理',
                'en_title': 'Commodity management',
                'type': 'menu',
                'children': []
            },
            {
                'component': '/src/views/backend/goods/cate/index.vue',
                "extend": "none",
                'name': 'goods/cate',
                'path': 'goods/cate',
                'auth': 'goods_cate',
                'icon': 'fa fa-tasks',
                'keepalive': 'goods/cate',
                'menu_type': 'tab',
                'title': '商品分类',
                'en_title': 'goods category',
                'type': 'menu',
                'children': []
            },
        ]
    },

    {
        'component': '/src/views/backend/member/index.vue',
        "extend": "none",
        'name': 'member',
        'path': 'member',
        'auth': 'member',
        'icon': 'fa fa-child',
        'keepalive': 'member',
        'menu_type': 'tab',
        'title': '会员管理',
        'en_title': 'member',
        'type': 'menu',
        'children': []
    },

    {
        'component': '/src/views/backend/order/index.vue',
        "extend": "none",
        'name': 'order',
        'path': 'order',
        'auth': 'order',
        'icon': 'fa fa-cart-plus',
        'keepalive': 'order',
        'menu_type': 'tab',
        'title': '订单管理',
        'en_title': 'order',
        'type': 'menu',
        'children': []
    },

    /*{
        'component': '',
        "extend": "none",
        'name': 'setting',
        'path': 'setting',
        'auth': 'setting',
        'icon': 'fa fa-cogs',
        'keepalive': '0',
        'menu_type': null,
        'title': '站点设置',
        'en_title': 'site settings',
        'type': 'menu',
        'children': [
            {
                'component': '/src/views/backend/setting/config/index.vue',
                "extend": "none",
                'name': 'setting/config',
                'path': 'setting/config',
                'auth': 'site_config',
                'icon': 'fa fa-cog',
                'keepalive': 'setting/config',
                'menu_type': 'tab',
                'title': '系统配置',
                'en_title': 'system configuration',
                'type': 'menu',
                'children': []
            },
            {
                'component': '/src/views/backend/setting/info/index.vue',
                "extend": "none",
                'name': 'setting/info',
                'path': 'setting/info',
                'auth': 'site_info',
                'icon': 'fa fa-info',
                'keepalive': 'setting/info',
                'menu_type': 'tab',
                'title': '单页配置',
                'en_title': 'Single page configuration',
                'type': 'menu',
                'children': []
            },
        ]
    },*/


    /*{
        'component': '',
        "extend": "none",
        'name': 'user',
        'path': 'user',
        'auth': 'user',
        'icon': 'fa fa-drivers-license',
        'keepalive': 0,
        'menu_type': null,
        'title': '会员管理',
        'en_title': 'Member Management',
        'type': 'menu_dir',
        'children': [
            {
                'component': '/src/views/backend/user/user/index.vue',
                "extend": "none",
                'name': 'user/user',
                'path': 'user/user',
                'auth': 'user',
                'icon': 'fa fa-user',
                'keepalive': 'user/user',
                'menu_type': 'tab',
                'title': '会员管理',
                'en_title': 'Member Management',
                'type': 'menu',
                'children': []
            },
            {
                'component': '/src/views/backend/user/group/index.vue',
                "extend": "none",
                'name': 'user/group',
                'path': 'user/group',
                'auth': 'user',
                'icon': 'fa fa-group',
                'keepalive': 'user/group',
                'menu_type': 'tab',
                'title': '会员分组管理',
                'en_title': 'Member Group Management',
                'type': 'menu',
                'children': []
            },
            {
                'component': '/src/views/backend/user/rule/index.vue',
                "extend": "none",
                'name': 'user/rule',
                'path': 'user/rule',
                'auth': 'user',
                'icon': 'fa fa-th-list',
                'keepalive': 'user/rule',
                'menu_type': 'tab',
                'title': '会员规则管理',
                'en_title': 'Membership rule management',
                'type': 'menu',
                'children': []
            },
            {
                'component': '/src/views/backend/user/moneyLog/index.vue',
                "extend": "none",
                'name': 'user/moneyLog',
                'path': 'user/moneyLog',
                'auth': 'user',
                'icon': 'el-icon-Money',
                'keepalive': 'user/moneyLog',
                'menu_type': 'tab',
                'title': '会员余额管理',
                'en_title': 'Member balance management',
                'type': 'menu',
                'children': []
            },
            {
                'component': '/src/views/backend/user/scoreLog/index.vue',
                "extend": "none",
                'name': 'user/scoreLog',
                'path': 'user/scoreLog',
                'auth': 'user',
                'icon': 'el-icon-Discount',
                'keepalive': 'user/scoreLog',
                'menu_type': 'tab',
                'title': '会员积分管理',
                'en_title': 'Member Points Management',
                'type': 'menu',
                'children': []
            }
        ]
    },*/
    /*{
        'component': '',
        "extend": "none",
        'name': 'routine',
        'path': 'routine',
        'auth': 'routine',
        'icon': 'fa fa-cogs',
        'keepalive': 0,
        'menu_type': null,
        'title': '常规管理',
        'en_title': 'routine management',
        'type': 'menu_dir',
        'children': [
            {
                'component': '/src/views/backend/routine/config/index.vue',
                "extend": "none",
                'name': 'routine/config',
                'path': 'routine/config',
                'auth': 'routine',
                'icon': 'el-icon-Tools',
                'keepalive': 'routine/config',
                'menu_type': 'tab',
                'title': '系统配置',
                'en_title': 'system configuration',
                'type': 'menu',
                'children': []
            },
            {
                'component': '/src/views/backend/routine/attachment/index.vue',
                "extend": "none",
                'name': 'routine/attachment',
                'path': 'routine/attachment',
                'auth': 'routine',
                'icon': 'fa fa-folder',
                'keepalive': 'routine/attachment',
                'menu_type': 'tab',
                'title': '附件管理',
                'en_title': 'Attachment Management',
                'type': 'menu',
                'children': []
            },
            {
                'component': '/src/views/backend/routine/adminInfo.vue',
                "extend": "none",
                'name': 'routine/adminInfo',
                'path': 'routine/adminInfo',
                'auth': 'routine',
                'icon': 'fa fa-user',
                'keepalive': 'routine/adminInfo',
                'menu_type': 'tab',
                'title': '个人资料',
                'en_title': 'personal data',
                'type': 'menu',
                'children': []
            }
        ]
    },*/
    /*{
        'component': '/src/views/backend/module/index.vue',
        "extend": "none",
        'name': 'moduleStore/moduleStore',
        'path': 'moduleStore',
        'auth': 'moduleStore',
        'icon': 'el-icon-GoodsFilled',
        'keepalive': 'moduleStore/moduleStore',
        'menu_type': 'tab',
        'title': '模块市场',
        'en_title': 'Module market',
        'type': 'menu',
        'children': []
    },*/
    /*{
        'component': '',
        "extend": "none",
        'name': 'security',
        'path': 'security',
        'auth': 'security',
        'icon': 'fa fa-shield',
        'keepalive': 0,
        'menu_type': null,
        'title': '数据安全管理',
        'en_title': 'Data Security Management',
        'type': 'menu_dir',
        'children': [
            {
                'component': '/src/views/backend/security/dataRecycleLog/index.vue',
                "extend": "none",
                'name': 'security/dataRecycleLog',
                'path': 'security/dataRecycleLog',
                'auth': 'security',
                'icon': 'fa fa-database',
                'keepalive': 'security/dataRecycleLog',
                'menu_type': 'tab',
                'title': '数据回收站',
                'en_title': 'Data Recycle Bin',
                'type': 'menu',
                'children': []
            },
            {
                'component': '/src/views/backend/security/sensitiveDataLog/index.vue',
                "extend": "none",
                'name': 'security/sensitiveDataLog',
                'path': 'security/sensitiveDataLog',
                'auth': 'security',
                'icon': 'fa fa-expeditedssl',
                'keepalive': 'security/sensitiveDataLog',
                'menu_type': 'tab',
                'title': '敏感数据修改记录',
                'en_title': 'Sensitive data modification records',
                'type': 'menu',
                'children': []
            },
            {
                'component': '/src/views/backend/security/dataRecycle/index.vue',
                "extend": "none",
                'name': 'security/dataRecycle',
                'path': 'security/dataRecycle',
                'auth': 'security',
                'icon': 'fa fa-database',
                'keepalive': 'security/dataRecycle',
                'menu_type': 'tab',
                'title': '数据回收规则管理',
                'en_title': 'Management of Data Recycling Rules',
                'type': 'menu',
                'children': []
            },
            {
                'component': '/src/views/backend/security/sensitiveData/index.vue',
                "extend": "none",
                'name': 'security/sensitiveData',
                'path': 'security/sensitiveData',
                'icon': 'fa fa-expeditedssl',
                'auth': 'security',
                'keepalive': 'security/sensitiveData',
                'menu_type': 'tab',
                'title': '敏感字段规则管理',
                'en_title': 'Sensitive field rule management',
                'type': 'menu',
                'children': []
            }
        ]
    },*/
    /*{
        'component': '/src/views/backend/crud/index.vue',
        "extend": "none",
        'name': 'crud/crud',
        'path': 'crud/crud',
        'auth': 'crud',
        'icon': 'fa fa-code',
        'keepalive': 'crud/crud',
        'menu_type': 'tab',
        'title': 'CRUD代码生成',
        'en_title': 'CRUD code generation',
        'type': 'menu',
        'children': []
    }*/
]
